package server.mapper;

import org.apache.ibatis.annotations.Mapper;
import server.bean.Goods;
import server.bean.Img;
import server.bean.Shop;

import java.util.List;
import java.util.Map;


@Mapper
public interface ShopMapper {

    public List<Shop> selectShop();
    public void insertImage(Img pic);
    public void updataImage(Img img);
    public Img getImage(Integer goodsImgId);
    //  product_id,belong_id,product_name,goods_num,goods_price,goods_img_id
    public List<Goods> selectGoods(int belongId);
}
